Skip to main content

FormAttachments

A common component for form attachments, displays Attachments heading with helper link, already attached items with remove option, and an optional large button.

NameTypeDefault ValueRequiredDescription
removeOnPress(attachment: any) => voidNocallback called on click of remove link for an attachment
buttonLabelstringNobutton label
buttonPress() => voidNobutton onPress
testIDstringNooptional TestID
attachmentsListany[]Nolist of current attachments